﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AbstractDLL.Abstract.Beans;

namespace AbstractDLL.Abstract
{
    public interface ILyricsProvider
    {
        /// <summary>
        /// 下载歌词
        /// </summary>
        /// <param name="title">歌名</param>
        /// <param name="artist">歌手名</param>
        /// <returns>Lyric变量</returns>
        Lyrics downloadLyric(string title, string artist);

        /// <summary>
        /// 获取当前对应歌词
        /// </summary>
        /// <param name="currentTime">当前播放时间</param>
        /// <returns>歌词字符串</returns>
        string getCurrentSentence(TimeSpan currentTime);

        /// <summary>
        /// 获取当前歌词对象
        /// </summary>
        /// <returns>歌词对象</returns>
        Lyrics getCurrentLyrics();
    }
}
